package ControlLayer;

import ModelLayer.*;

public class VareController {

    //Properties
    private VareCollectionModel vareCollectionModel;

    //Constructor
    public VareController(){
        vareCollectionModel = vareCollectionModel.getInstance();
    }

    //Methods

    /**
     * Finder en vare ud fra dens ID
     * @param id Varens ID
     * @return returnerer en Vare
     */
    public VareModel findVare(int id){
        return vareCollectionModel.findVare(id);
    }

    public void printVareInfo(){
        vareCollectionModel.printVarer();
    }




}
